{% extends 'base.html' %}
{% block styles%}
<style type="text/css">
    header{
        background-color: #eee;
        height: 7rem;
    }
    header h1{
        font-size: 3rem;
    }
    .mynav{
        margin-bottom: 0 !important;
    }
    form{
        margin: 20px 0px;
        font-size: 1.6rem;
    }
    .submit-btn{
        margin-top:20px;
        height: 50px;
        width:130px;
        font-size: 20px;
    }
</style>
 {% endblock %}
 {% block title%}
    <title>主界面</title>
{% endblock %}
{% block nav %}
    <li><a href="/logout"><span class="glyphicon glyphicon-log-out"></span> 退出登录</a></li>
{% endblock %}
{% block content %}
<header>
<div class="container">
    <h1>添加教师信息</h1>
</div>
</header>
<div class="container">

    <form class="form-horizontal" role="form"   method="post">

  <div class="form-group">
    <label for="firstname" class="col-sm-1 col-sm-offset-1 control-label">名称：</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="firstname" name="name">
    </div>
    </div>
   
  <div class="form-group">
    <label for="note" class="col-sm-1 col-sm-offset-1 control-label note">简介：</label>
    <div class="col-sm-8">
      <textarea class="form-control" id="note" rows="3" name="abstract"></textarea>
  </div>
  </div>
  <div class="form-group">
    <label for="level" class="col-sm-2
      control-label">教师职位：</label>
    <div class="col-sm-3">
                <div class="input-group">
                    <div class="input-group-btn">
                        <button type="button" class="btn btn-default 
                        dropdown-toggle" data-toggle="dropdown">下拉菜单
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="#">True</a>
                            </li>
                            <li>
                                <a href="#">False</a>
                            </li>
                            
                        </ul>
                    </div><!-- /btn-group -->
                    <input type="text" class="form-control level" readonly name="level">
                </div><!-- /input-group -->
            </div><!-- /.col-lg-6 -->
    </div>
  <div class="form-group">
       <div class="col-md-5 col-md-offset-2">
           <button type="submit" class="btn btn-primary submit-btn">提交</button>
        </div>
   </div>
  
  </div>
</form>
</div>
{% endblock %}
{% block script %}
<!-- {{url_for('static',filename='courses')}} -->
<script type="text/javascript" src="/static/teacher.js" id='jss'></script>
{% endblock %}